package org.ucas.kgraph.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Table
@Entity
public class File extends IdEntity {


  @Column(columnDefinition = "bigint")
  private Long account_id;
  
  @Column
  private String name;
  
  @Column(columnDefinition = "bigint")
  private Long parent_id; 
 
  @Column(columnDefinition = "INT")
  private Integer level; // The max level of leftEnd and rightEnd

  @Column
  private String type;

  @Column
  private String state;

  public String getState() {
	return state;
  }

  public void setState(String state) {
	this.state = state;
  }

  public Long getAccount_id() {
	return account_id;
  }

  public void setAccount_id(Long account_id) {
    this.account_id = account_id;
  }

  public String getName() {
	return name;
  }

  public void setName(String name) {
	this.name = name;
  }

  public Long getParent_id() {
	return parent_id;
  }

  public void setParent_id(Long parent_id) {
	this.parent_id = parent_id;
  }

  public Integer getLevel() {
	return level;
  }

  public void setLevel(Integer level) {
	this.level = level;
  }

  public String getType() {
	return type;
  }

  public void setType(String type) {
	this.type = type;
  }
  

  
  
}
